#ifndef CHATUI_H
#define CHATUI_H

#include <QDialog>

class User;

namespace Ui {
class ChatUI;
}

class ChatUI : public QDialog
{
    Q_OBJECT

public:
    explicit ChatUI(QWidget *parent = 0);
    ~ChatUI();

private slots:
    void on_pushButtonSend_clicked();

    void on_pushButtonConnect_clicked();

    void ShowNewMessage() const;

    void on_pushButtonRecord_clicked();

    void on_pushButtonFinish_clicked();

    void on_pushButtonPlay_clicked();

private:
    Ui::ChatUI *ui;
    User* _curUser;
};

#endif // CHATUI_H
